<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">运营管理</h1>
</div>
<div class="wrapper-md">
    <div class="panel panel-default">
        <div class="panel-heading">
            排行榜活动管理
        </div>
        <toaster-container toaster-options="{'position-class': 'toast-center', 'close-button':true}"></toaster-container>
        <div class="panel-body b-b b-light">
            <div class="form-group pull-in clearfix">
                    <button style="margin-left: 15px;" class="btn btn-info btn-addon" ng-click="addRanking()">添加</button>
                    <button class="btn btn-info btn-addon" ng-click="deleteCache()">删除缓存</button>
                    <button class="btn btn-info btn-addon" ng-if='!graybtn' ng-click="queryRanking()">查询</button>
                    <button class="btn btn-light btn-addon" ng-if='graybtn'>查询</button>  
            </div> 
        </div>
        <div class="table-responsive">
            <table id="tab" class="table table-striped m-b-none">
                <thead>
                    <tr>
                        <th style="width:10%">第几期</th>
                        <th style="width:10%">开始时间</th>
                        <th style="width:10%">结束时间</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-if="GetRankingList==''">
                        <td colspan="9">当前无任何数据</td>
                    </tr>
                    <tr ng-repeat="obj in GetRankingList">
                        <td ng-bind="obj.Serial"></td>
                        <td ng-bind="obj.StartTime|date:'yyyy-MM-dd HH:mm:ss'"></td>
                        <td ng-bind="obj.EndTime|date:'yyyy-MM-dd HH:mm:ss'"></td>
                    </tr>
                </tbody>
            </table>
        </div>

    </div>
</div>
<div class="btn-group pull-right">
    <button type="button" class="btn btn-default" ng-click="prev()"><font><font>上一页</font></font></button>
    <button type="button" class="btn btn-default btnNum">{{searchrankingmanage.Index}}</button>
    <button type="button" class="btn btn-default" ng-click="next()"><font><font>下一页</font></font></button>
    <span class="btn btn-default">共<span ng-bind="QueryListTotal+'条数据'"></span></span>

</div>